package loan.calc.constant.dict;

import loan.calc.constant.dict.base.DictEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;
import loan.calc.constant.dict.base.BaseDictEnum;

/**
 *
 * 收付方向枚举
 *
 * @author Liusuo Dong
 * @date 2020/12/13
 */
@Getter
@AllArgsConstructor
@DictEnum(value = "DirectionType", description = "收付方向")
public enum DirectionTypeEnum implements BaseDictEnum {

    R("收"),
    P("付");
    private final String value;
    private final String description;

    DirectionTypeEnum(String description) {
        this.value = name();
        this.description = description;
    }
}
